package com.atguigu.srb.core.pojo.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;

/**
 * @author lupengning
 * @version 1.0
 * @description:
 * @date 2021/6/8 19:28
 */
@Data
@Builder
@ApiModel(description = "用户信息对象")
public class UserInfoVO {

  @ApiModelProperty("用户姓名")
  private String name;

  @ApiModelProperty("用户昵称")
  private String nickName;

  @ApiModelProperty("用户头像")
  private String headImg;

  @ApiModelProperty("用户手机")
  private String mobile;

  @ApiModelProperty("1、出借人 2、借款人")
  private Integer userType;

  @ApiModelProperty("JWT访问令牌")
  private String token;
}
